package homework.homework9;



import homework.homework9.http.HttpServletRequest;

import java.io.IOException;
import java.net.Socket;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;

public class ClientHandler implements Runnable{
    private Socket socket;

    public ClientHandler(Socket socket) {
        this.socket = socket;
    }

    @Override
    public void run() {
        try {
            //1.解析请求
            HttpServletRequest request = new HttpServletRequest(socket);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

}
